﻿<html>
<head>
    <title>Angular 2 Demo</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- 1. Load libraries -->
    <!-- IE required polyfills, in this exact order -->
    <script src="~/node_modules/es6-shim/es6-shim.min.js"></script>
    <script src="~/node_modules/systemjs/dist/system-polyfills.js"></script>

    <script src="~/node_modules/angular2/bundles/angular2-polyfills.js"></script>
    <script src="~/node_modules/systemjs/dist/system.src.js"></script>
    <script src="~/node_modules/rxjs/bundles/Rx.js"></script>
    <script src="~/node_modules/angular2/bundles/angular2.dev.js"></script>
    <script src="~/app/system.config.js"></script>
    <!-- 2. Configure SystemJS -->
    <script>
        System.import('../app/main.js').catch(function (err) {
            console.error(err);
        });
    </script>

</head>

<!-- 3. Display the application -->
<body>
    <angular2-demo>Loading...</angular2-demo>
</body>

</html>